<?php
/**
 * Created by PhpStorm.
 * User: Dave
 * Date: 2018/5/28
 * Time: 17:49
 */

use Biz\service\SmallEnergy as sSmallEnergy;
/**
 * @deprecated
 */
class GetSmallEnergyIdAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {

        $smallEnergyUserInfo = sSmallEnergy::getSmallEnergyId($this->uid);
        $this->setSuccess($smallEnergyUserInfo);
    }
}